package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ShoppingCart;
import java.util.List;

public interface ShoppingCartMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ShoppingCart entity);

    ShoppingCart selectByPrimaryKey(Long id);

    List<ShoppingCart> selectAll();

    int updateByPrimaryKey(ShoppingCart entity);

    List<ShoppingCart> ListByUserId(Long userId);

    List<ShoppingCart> getShoppingCartById(int[] ids);

    void deleteShoppingCartById(int[] ids);
}